package com.TeamJigsaw.DanteTrail.Views;

import java.awt.Dimension;

import javax.swing.JFrame;
import javax.swing.JPanel;

import com.TeamJigsaw.DanteTrail.Views.Interfaces.RiverGameInterface;

import net.miginfocom.swing.MigLayout;
import com.TeamJigsaw.DanteTrail.Models.Party;

public class RiverGameView extends JPanel implements RiverGameInterface{
	
	RiverGameDisplay riverGameDisplay;
	
	public RiverGameView () {
		setSize(new Dimension(700,700));
		setLayout(new MigLayout("", "[100:100:100][grow][100:100:100]", "[200:200:200][grow][200:200:200]"));
		initialize();
	}

	public void initialize()
	{
		
	}
	
	public void createRiverGame(Party party, MainViewFrame mainView) {
		riverGameDisplay = new RiverGameDisplay(party, mainView);
		add(riverGameDisplay, "cell 1 1,grow");
	}
}
